import request from '@/utils/request'

// 客户数据下发列表
export function listUser(data) {
    return request({
        url: '/system/customerInformation/sendDataList',
        method: 'get',
        params: data
    })
}

// 删除
export function listUserDelete(id) {
    return request({
        url: '/system/customerInformation/remove?id=' + id,
        method: 'post'
    })
}

// 获取客户分类列表
export function listUserList(data) {
    return request({
        url: '/system/customerSort/list',
        method: 'get',
        params: data
    })
}

// 供应商数据下发列表
export function listSupplier(data) {
    return request({
        url: '/system/supplierInfo/sendDataList',
        method: 'get',
        params: data
    })
}

// 获取供应商分类列表
export function listSupplierlist(data) {
    return request({
        url: '/system/supplierSort/list',
        method: 'get',
        params: data
    })
}

// 产品数据下发列表
export function listProduct(data) {
    return request({
        url: '/system/productBasicInformation/sendDataList',
        method: 'get',
        params: data
    })
}

// 销售订单产品接口
export function listSalesProduct(data) {
    return request({
        url: '/system/productBasicInformation/salesOrderSelectProducts',
        method: 'get',
        params: data
    })
}
